<?php
declare (strict_types = 1);

namespace app\middleware\api;

use app\api\service\Token;
use app\enum\ScopeEnum;
use app\exception\ForBiddenException;
use app\exception\TokenException;
use think\Exception;

/**
 * Class checkPrimaryScope
 * 管理员 / 用户 权限检测  用户，管理员可以调用的接口权限
 * @package app\middleware\api
 */
class checkPrimaryScope extends checkScope
{
    protected $scope = ScopeEnum::User;
    protected $symbol = '>=';
}
